package kk.yiyi.safedesign.main;

import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;

import kk.yiyi.safedesign.R;
import kk.yiyi.safedesign.mine.MineFragment;

public class MainFragment extends Fragment {
    private static MainFragment mInstance;
    public static MainFragment getInstance(){
        if(mInstance == null){
            mInstance=new MainFragment();
        }
        return mInstance;
    }
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        final View root = inflater.inflate(R.layout.main_fragment, container, false);
        return root;
    }

}
